package boot.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class Goods {
    private Integer id;
    private String name;
    private String type;
    private int count;
    private float price;
    @TableField("`desc`")
    private String desc;

    public Goods(){

    }

    public Goods(String name, String type, String desc) {
        this.name = name;
        this.type = type;
        this.desc = desc;
    }
}
